import React, { useState, useEffect } from 'react';
import { UserInfo } from './hooks/userInfo';
import { RecursiveComponent } from './fp/recursive';

const demo = {
  a: 1,
  b: {
    c: 2,
    d: {
      e: 3
    }
  }
}

function App() {
  return (
    <>
      <RecursiveComponent data={demo} ></RecursiveComponent>
    </>
  );
}
export default App;
